package com.twb.system.service;

import java.util.List;
import java.util.Map;

import com.twb.core.base.entity.TwbPageInfo;
import com.twb.core.base.service.IBaseService;
import com.twb.system.entity.twbSequence.TwbSequence;
import com.twb.system.entity.twbSequence.dto.SearchTwbSequenceDto;
import com.twb.system.entity.twbSequence.vo.SaveTwbSequenceVo;
import com.twb.system.entity.twbSequence.vo.SearchTwbSequenceVo;
import com.twb.system.entity.twbSequence.vo.UpdateTwbSequenceByIdVo;

/**
 * @ClassName ITwbSequenceService
 * @Description 序列表 service接口
 * 
 * @author DSY
 * @date 2020-12-24 14:55:12
 */
public interface ITwbSequenceService extends IBaseService<TwbSequence> {

	/**
	 * @Title  searchTwbSequence
	 * @Description 分页查询
	 * @param vo
	 * @return
	 * @author DSY
	 * @date 2020-12-24 14:55:12
	 */
	public TwbPageInfo<SearchTwbSequenceDto> searchTwbSequence(SearchTwbSequenceVo vo);

	/**
	 * @Title  searchTwbSequence
	 * @Description 查询集合
	 * @param vo
	 * @return
	 * @author DSY
	 * @date 2020-12-24 14:55:12
	 */
	public List<SearchTwbSequenceDto> searchTwbSequenceList(SearchTwbSequenceVo vo);

	/**
	 * @Title  saveTwbSequence
	 * @Description 保存信息
	 * @param vo
	 * @return
	 * @author DSY
	 * @date 2020-12-24 14:55:12
	 */
	public int saveTwbSequence(SaveTwbSequenceVo vo);

	/**
	 * @Title  updateTwbSequenceById
	 * @Description 更新信息
	 * @param vo
	 * @return
	 * @author DSY
	 * @date 2020-12-24 14:55:12
	 */
	public int updateTwbSequenceById(UpdateTwbSequenceByIdVo vo);

	/**
	 * @Title  deleteTwbSequenceById
	 * @Description 删除信息
	 * @param id
	 * @return
	 * @author DSY
	 * @date 2020-12-24 14:55:12
	 */
	public int deleteTwbSequenceById(String id);

	/**
	 * @Title  deleteTwbSequenceByIds
	 * @Description 批量删除信息
	 * @param ids
	 * @return
	 * @author DSY
	 * @date 2020-12-24 14:55:12
	 */
	public int deleteTwbSequenceByIds(String ids);

	/**
	 * @Title  logicBatchDeleteTwbSequenceByIds
	 * @Description 批量逻辑删除
	 * @param ids
	 * @return
	 * @author DSY
	 * @date 2020-12-24 14:55:12
	 */
	public int logicBatchDeleteTwbSequenceByIds(String ids);

	/**
	 * @Title  importExcel
	 * @Description 导入excel
	 * @param map
	 * @return
	 * @author DSY
	 * @date 2020-12-24 14:55:12
	 */
	public int importExcel(Map<String, String> map);

	/**
	 * @Title createCode
	 * @Description 生成序列
	 * @param code   序列号编码
	 * @return
	 * @author DSY
	 * @date 2020年12月24日 下午3:01:56
	 */
	public String createCode(String code);
}
